hysop.backend.host.python.operator.custom module

class hysop.backend.host.python.operator.custom.PythonCustomOperator(forward_apply_kwds=None, **kwds)[source]

Bases: CustomOperatorBase, HostOperator

Create the common attributes of all host operators.

All input and output variable topologies should be of kind Backend.HOST and share the same HostEnvironment.

apply(**kwds)

Abstract method that should be implemented. Applies this node (operator, computational graph operator…).